package com.atguigu.lease.model.bean;

import com.atguigu.lease.model.base.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import java.math.BigDecimal;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

/**
 * @TableName lease_agreement
 */
@TableName(value ="lease_agreement")
@Data
public class LeaseAgreement extends BaseEntity {
    private String phone;

    private String name;

    private String identificationNumber;

    private Long apartmentId;

    private Long roomId;
//    @JsonFormat(timezone = "GMT+8" , pattern = "yyyy-MM-dd")
//    private Date leaseStartDate;
//
//    @JsonFormat(timezone = "GMT+8" , pattern = "yyyy-MM-dd")
//    private Date leaseEndDate;
    private String leaseStartDate;//字符串也可以接受时间日期数据 但是必须满足时间日期格式！
    private String leaseEndDate;
    private Long leaseTermId;

    private BigDecimal rent;

    private BigDecimal deposit;

    private Long paymentTypeId;

    private Integer status;

    private Integer sourceType;

    private String additionalInfo;

    
}